package com.example.dubbo.service;

import com.alibaba.dubbo.config.annotation.Service;
import org.springframework.stereotype.Component;

/**
 * @author: trtan
 * @date: 2021-06-15 16:03
 **/
@Service
@Component
public class ProviderServiceImpl implements ProviderService{
    @Override
    public String sayHello(String name) {
        System.out.println("Request name is " + name);
        return "Hello " + name;
    }
}
